package com.hm.shopping.domain;

import java.util.List;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.shopping.auto.su.BaseDomain;
import com.hm.shopping.auto.su.R;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2018年1月18日 下午6:05:31
 * @version 1.0
 * @describe 商品分类
 */
@Setter
@Getter
@Document(collection = R.Database.prefix + "CLASSIFICATION")
public class ClassificationDomain extends BaseDomain {

	private static final long serialVersionUID = 1L;

	/**
	 * 商品分类名称
	 */
	@Field(value = "classification_name")
	private String classificationName;

	/**
	 * 商品分类CODE
	 */
	@Field(value = "classification_code")
	private String classificationCode;

	/**
	 * 商品分类图标
	 */
	@Field(value = "classification_icon")
	private String classificationIcon;

	/**
	 * 商品分类顺序
	 */
	@Field(value = "classification_order")
	private Integer classificationOrder;

	/**
	 * 商品分类明细
	 */
	@Field(value = "classification_detail_ids")
	private List<String> classificationDetailIds;
}
